/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package foxmob.mlts.view.student;

/**
 *
 * @author zpf16z
 */
public class SubSectionPanel extends javax.swing.JPanel {

    /**
     * Creates new form SubSectionPanel
     */
    public SubSectionPanel() {
        initComponents();
    }

    public void load(String subsectionName, String description){
        this.jLabelSubsectionTitle.setText(subsectionName);
        this.jLabelDescription.setText(description);
    }
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabelDescription = new javax.swing.JLabel();
        jLabelSubsectionTitle = new javax.swing.JLabel();
        jSeparatorSubsection = new javax.swing.JSeparator();

        setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabelDescription.setText("Descriptio");
        add(jLabelDescription, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 70, 490, 50));

        jLabelSubsectionTitle.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N
        jLabelSubsectionTitle.setText("Subsection:");
        add(jLabelSubsectionTitle, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, 240, 30));
        add(jSeparatorSubsection, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 10, 720, -1));
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabelDescription;
    private javax.swing.JLabel jLabelSubsectionTitle;
    private javax.swing.JSeparator jSeparatorSubsection;
    // End of variables declaration//GEN-END:variables
}
